package com.app.repository.interfaces;

import com.app.model.main.ConsumeRecord;

public interface ConsumeRecordMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ConsumeRecord record);

    int insertSelective(ConsumeRecord record);

    ConsumeRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ConsumeRecord record);

    int updateByPrimaryKey(ConsumeRecord record);

    ConsumeRecord selectByFromIdAndToId(ConsumeRecord record);
}